-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add model settings id parameter #1053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@mathurk @Chibionos we added this "metadata" bag to You can add these settings in the low-code agents repo, and access them here via the |
Chibionos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand why metadata might be a concern as we are adding a new property to the command and they can make the command use metadata
9d78ed5 to
2c85854
Compare
…adata Remove the incorrect implementation that wrapped the factory and created temporary files. Instead, read agent settings from schema.metadata which is populated by the low-code agents runtime. ### Changes - Remove ConfigurableRuntimeFactory class and tests - Update _get_agent_model() to read from schema.metadata["settings"]["model"] - Keep fallback to protocol for backwards compatibility - Update uipath-runtime dependency to >=0.3.4 (includes metadata field) - Remove temp file cleanup from __aexit__ ### Why this change? PR #1053 introduced a design that broke separation of concerns: - Wrapped the factory unnecessarily - Deserialized agent.json in the CLI layer - Created temporary modified JSON files - Required cleanup of temp files The correct design (per @cristipufu feedback): - Low-code repo populates schema.metadata with settings - CLI reads settings from schema.metadata - No temp files, no factory wrapper, no JSON deserialization in CLI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Development Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).